package com.mydroidchat.data.net;

import java.net.MalformedURLException;
import java.net.URL;

public class MessagesRequest extends ApiRequest<MessageResponse> {
    @Override
    protected URL createUrl() throws MalformedURLException {
        return new URL("http://mydroid.by/apichat.php?act=read&count=50");
    }

    @Override
    protected MessageResponse createResponse(String completePage) {
        return new MessageResponse(completePage);
    }
}
